package com.nanyang.tms.common.config;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.cloud.context.config.annotation.RefreshScope;
import org.springframework.stereotype.Component;

/**
 * <p>AliPayConfig</p>
 * <p>Description:支付宝支付配置类</p>
 *
 * @author: lv
 * date: 2020/11/21 12:41
 * @Copyright: 2020 www.rongetong.cn Inc. All rights reserved.
 */
@Data
@Component
@RefreshScope
@ConfigurationProperties(prefix = "tms.ali")
public class AliPayConfig {

    /**
     * appId
     */
    private String appId;
    /**
     * 网关地址
     */
    private String gateWay;
    /**
     * 私钥
     */
    private String merchantPrivateKey;

    /**
     * 支付宝公钥
     */
    private String alipayPublicKey;
    /**
     * 支付回调通知地址
     */
    private String notifyUrl;

    /**
     * 当面付商户号
     */
    private String sysServiceProviderId;

}
